package framework.ctx
{
	import flash.events.IEventDispatcher;


	public interface ICtx extends IEventDispatcher
	{
		function getBean(clazzOrId:Object):*;

		function fetchBean(clazz:Class, idToCreate:String = null):*

		function getBeanDefinitions(clazzOrId:Object):Array;

		function containsBean(clazzOrId:Object):Boolean;

		function getBeans():Object

		function getIdsOfType(clazz:Class):Array

	}
}